package com.karson.front;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling
@ServletComponentScan
@ConfigurationPropertiesScan
@EnableRabbit
@MapperScan(basePackages ={ "com.karson.**.dao"})
@ComponentScan(basePackages = {"com.karson","com.karson.front"})
public class AsmrFrontApplication {
    public static void main(String[] args) {
        SpringApplication.run(AsmrFrontApplication.class, args);
    }
}